package com.huan.study.mybatis.entity;

import com.huan.study.mybatis.annotation.DecryptField;
import com.huan.study.mybatis.annotation.EncryptField;
import com.huan.study.mybatis.annotation.SensitiveData;
import lombok.Data;

/**
 * @author YanXxx
 * @date 2022-11-03 18:28
 */
@Data
@SensitiveData
public class User {


    private Long id;

    @DecryptField
    @EncryptField
    private String city;

    @DecryptField
    @EncryptField
    private String name;

    @DecryptField
    @EncryptField
    private String phone;

}